﻿using System;
using System.Diagnostics;
using System.Linq;

namespace ProjectEuler
{
    internal class Problem20
    {
        public void Solve()
        {
            var num1 = "111111";
            var num2 = "9";
            var mul = Common.Mult(num1, num2);

            var fact = Common.FactorialAsString(100);

            var sum = fact.Sum(c => Int32.Parse(c.ToString()));
            
            Debug.WriteLine("problem 20: " + sum);
        }
    }
}